package org.redis.cluster.test.transport.redis;

import org.junit.Assert;
import org.junit.Test;
import org.redis.cluster.redis.processor.RedisNumberReplyProcessor;
import org.redis.cluster.redis.transport.reply.RedisNumberReply;

public class RedisNumberReplyProcessorTester {

	@Test
	public void test() {
		RedisNumberReplyProcessor processor=new RedisNumberReplyProcessor();
		RedisNumberReply reply=new RedisNumberReply(1);
		byte result[]=processor.process(reply);
		Assert.assertEquals(":1\r\n", new String(result));
	}
}